package com.front.peikuahaitao.view.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.front.peikuahaitao.R;
import com.front.peikuahaitao.base.BaseFragment;
import com.front.peikuahaitao.base.BasePresenter;
import com.front.peikuahaitao.presenter.HomePresenter;
import com.front.peikuahaitao.view.impl.IHomeView;

/**
 * 这是首页
 */
public class HomeFragment extends BaseFragment<IHomeView, HomePresenter> {
    private static HomeFragment instance = null;

    public static HomeFragment newInstance() {
        if (instance == null) {
            instance = new HomeFragment();
        }
        return instance;
    }

    public HomeFragment() {

    }

    @Override
    public HomePresenter initPresenter() {
        return new HomePresenter();
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_home;
    }


    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {

    }

}
